<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="<?php echo base_url('public_source/css_source/header.css')?>" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url('public_source/css_source/tabbar.css')?>" rel="stylesheet" type="text/css"/>
        <script src="<?php echo base_url('public_source/javascript/jquery-1.9.1.js');?>" type="text/javascript"></script>
        <script>
            $(document).ready(function(){
               $("#login").mouseover(function(){
                  $("#person_box").show();
               });
                $("body").click(function(){
                  $("#person_box").hide();
               });
            });
        </script>
    </head>
    <body>
        <div ID="Banner">            
            <object style="position:absolute"  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="949" height="358">
                <param name="movie" value="<?php echo base_url("public_source/images_source/banner.swf");?>" />
                <param name="quality" value="high">
                <param name="wmode" value="transparent">
                <embed  wmode="transparent" src="<?php echo base_url("public_source/images_source/banner.swf");?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="949" height="358">            
            </object>
            <img src="<?php echo base_url("public_source/images_source/banner.jpg");?>">
        </div>
        <div ID="Tabbar">
            <div ID="Tabbar_Postition">
                <div ID="Tabbar_Image">
                    <img src="<?php echo base_url("public_source/images_source/tabbar.png");?>">
                    <div ID="Tabbar_Title">
                        <table border="0" cellspacing="0" cellpadding="0" style="cursor: pointer" >
                            <tbody>
                                <tr>
                                    <td>
                                        <a href="<?php echo site_url()?>">                                            
                                            <strong>
                                                Trang chủ
                                            </strong>
                                        </a>
                                    </td>
                                    
                                    <td>
                                        <a href='<?php echo site_url("home/intro") ?>'>
                                            <strong>
                                                Giới thiệu
                                            </strong>
                                        </a>
                                    </td>
                                    
                                    <td>
                                        <a href='<?php echo site_url("home/intro1") ?>'>
                                            <strong>
                                                Liên hệ
                                            </strong>
                                        </a>
                                    </td>
                                    
                                    <td>
                                        <strong>
                                        <?php
                                            if ($this->my_auth->is_Login())
                                                echo "<a id='login' href=''>".$this->my_auth->username."</a>";
                                            else
                                                echo "<a id='not_login' href='".site_url("user/login")."'>Đăng nhập</a>";
                                        ?>
                                        </strong>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>        
            </div>
        </div>
        <div id="person_box">
            <a href="<?php echo site_url("user/edit/".$this->my_auth->userid); ?>"><strong>Cập nhật thông tin</strong></a><br>
            <a href="<?php echo site_url("user/fgpass"); ?>"><strong>Đổi mật khẩu</strong></a><br>
            <a href="<?php echo site_url("home/my_like"); ?>"><strong>Giỏ hàng yêu thích</strong></a><br>
            <a href="<?php echo site_url("home/my_cart/1"); ?>"><strong>Giỏ hàng hiện tại</strong></a><br>
             <?php if($this->my_auth->is_Admin()){ ?>           <a href="<?php echo site_url("home_admin/index"); ?>"><strong>Chức năng Admin</strong></a><br> <?php } ?>
            <a href="<?php echo site_url("user/logout"); ?>"><strong>Thoát</strong></a>
        </div>
    </body>
</html>